# Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# NOTE: This file is auto generated by the elixir code generator program.
# Do not edit this file manually.

defmodule GoogleApi.Integrations.V1.Model.EnterpriseCrmEventbusProtoFunctionType do
  @moduledoc """


  ## Attributes

  *   `baseFunction` (*type:* `GoogleApi.Integrations.V1.Model.EnterpriseCrmEventbusProtoBaseFunction.t`, *default:* `nil`) - LINT.IfChange
  *   `booleanArrayFunction` (*type:* `GoogleApi.Integrations.V1.Model.EnterpriseCrmEventbusProtoBooleanArrayFunction.t`, *default:* `nil`) - 
  *   `booleanFunction` (*type:* `GoogleApi.Integrations.V1.Model.EnterpriseCrmEventbusProtoBooleanFunction.t`, *default:* `nil`) - 
  *   `doubleArrayFunction` (*type:* `GoogleApi.Integrations.V1.Model.EnterpriseCrmEventbusProtoDoubleArrayFunction.t`, *default:* `nil`) - 
  *   `doubleFunction` (*type:* `GoogleApi.Integrations.V1.Model.EnterpriseCrmEventbusProtoDoubleFunction.t`, *default:* `nil`) - 
  *   `intArrayFunction` (*type:* `GoogleApi.Integrations.V1.Model.EnterpriseCrmEventbusProtoIntArrayFunction.t`, *default:* `nil`) - 
  *   `intFunction` (*type:* `GoogleApi.Integrations.V1.Model.EnterpriseCrmEventbusProtoIntFunction.t`, *default:* `nil`) - 
  *   `jsonFunction` (*type:* `GoogleApi.Integrations.V1.Model.EnterpriseCrmEventbusProtoJsonFunction.t`, *default:* `nil`) - 
  *   `protoArrayFunction` (*type:* `GoogleApi.Integrations.V1.Model.EnterpriseCrmEventbusProtoProtoArrayFunction.t`, *default:* `nil`) - 
  *   `protoFunction` (*type:* `GoogleApi.Integrations.V1.Model.EnterpriseCrmEventbusProtoProtoFunction.t`, *default:* `nil`) - 
  *   `stringArrayFunction` (*type:* `GoogleApi.Integrations.V1.Model.EnterpriseCrmEventbusProtoStringArrayFunction.t`, *default:* `nil`) - 
  *   `stringFunction` (*type:* `GoogleApi.Integrations.V1.Model.EnterpriseCrmEventbusProtoStringFunction.t`, *default:* `nil`) - 
  """

  use GoogleApi.Gax.ModelBase

  @type t :: %__MODULE__{
          :baseFunction =>
            GoogleApi.Integrations.V1.Model.EnterpriseCrmEventbusProtoBaseFunction.t() | nil,
          :booleanArrayFunction =>
            GoogleApi.Integrations.V1.Model.EnterpriseCrmEventbusProtoBooleanArrayFunction.t()
            | nil,
          :booleanFunction =>
            GoogleApi.Integrations.V1.Model.EnterpriseCrmEventbusProtoBooleanFunction.t() | nil,
          :doubleArrayFunction =>
            GoogleApi.Integrations.V1.Model.EnterpriseCrmEventbusProtoDoubleArrayFunction.t()
            | nil,
          :doubleFunction =>
            GoogleApi.Integrations.V1.Model.EnterpriseCrmEventbusProtoDoubleFunction.t() | nil,
          :intArrayFunction =>
            GoogleApi.Integrations.V1.Model.EnterpriseCrmEventbusProtoIntArrayFunction.t() | nil,
          :intFunction =>
            GoogleApi.Integrations.V1.Model.EnterpriseCrmEventbusProtoIntFunction.t() | nil,
          :jsonFunction =>
            GoogleApi.Integrations.V1.Model.EnterpriseCrmEventbusProtoJsonFunction.t() | nil,
          :protoArrayFunction =>
            GoogleApi.Integrations.V1.Model.EnterpriseCrmEventbusProtoProtoArrayFunction.t() | nil,
          :protoFunction =>
            GoogleApi.Integrations.V1.Model.EnterpriseCrmEventbusProtoProtoFunction.t() | nil,
          :stringArrayFunction =>
            GoogleApi.Integrations.V1.Model.EnterpriseCrmEventbusProtoStringArrayFunction.t()
            | nil,
          :stringFunction =>
            GoogleApi.Integrations.V1.Model.EnterpriseCrmEventbusProtoStringFunction.t() | nil
        }

  field(:baseFunction, as: GoogleApi.Integrations.V1.Model.EnterpriseCrmEventbusProtoBaseFunction)

  field(:booleanArrayFunction,
    as: GoogleApi.Integrations.V1.Model.EnterpriseCrmEventbusProtoBooleanArrayFunction
  )

  field(:booleanFunction,
    as: GoogleApi.Integrations.V1.Model.EnterpriseCrmEventbusProtoBooleanFunction
  )

  field(:doubleArrayFunction,
    as: GoogleApi.Integrations.V1.Model.EnterpriseCrmEventbusProtoDoubleArrayFunction
  )

  field(:doubleFunction,
    as: GoogleApi.Integrations.V1.Model.EnterpriseCrmEventbusProtoDoubleFunction
  )

  field(:intArrayFunction,
    as: GoogleApi.Integrations.V1.Model.EnterpriseCrmEventbusProtoIntArrayFunction
  )

  field(:intFunction, as: GoogleApi.Integrations.V1.Model.EnterpriseCrmEventbusProtoIntFunction)
  field(:jsonFunction, as: GoogleApi.Integrations.V1.Model.EnterpriseCrmEventbusProtoJsonFunction)

  field(:protoArrayFunction,
    as: GoogleApi.Integrations.V1.Model.EnterpriseCrmEventbusProtoProtoArrayFunction
  )

  field(:protoFunction,
    as: GoogleApi.Integrations.V1.Model.EnterpriseCrmEventbusProtoProtoFunction
  )

  field(:stringArrayFunction,
    as: GoogleApi.Integrations.V1.Model.EnterpriseCrmEventbusProtoStringArrayFunction
  )

  field(:stringFunction,
    as: GoogleApi.Integrations.V1.Model.EnterpriseCrmEventbusProtoStringFunction
  )
end

defimpl Poison.Decoder,
  for: GoogleApi.Integrations.V1.Model.EnterpriseCrmEventbusProtoFunctionType do
  def decode(value, options) do
    GoogleApi.Integrations.V1.Model.EnterpriseCrmEventbusProtoFunctionType.decode(value, options)
  end
end

defimpl Poison.Encoder,
  for: GoogleApi.Integrations.V1.Model.EnterpriseCrmEventbusProtoFunctionType do
  def encode(value, options) do
    GoogleApi.Gax.ModelBase.encode(value, options)
  end
end
